﻿using System;

namespace SharpSqlAnalyzer.nodes
{
	// Token: 0x02000290 RID: 656
	public class TCommentSqlNode : TParseTreeNode
	{
		// Token: 0x170003FB RID: 1019
		// (get) Token: 0x0600154C RID: 5452 RVA: 0x00325F36 File Offset: 0x00324136
		// (set) Token: 0x0600154D RID: 5453 RVA: 0x00325F3E File Offset: 0x0032413E
		public EDbObjectType dbObjectType
		{
			get
			{
				return this._dbObjectType;
			}
			set
			{
				this._dbObjectType = value;
			}
		}

		// Token: 0x170003FC RID: 1020
		// (get) Token: 0x0600154F RID: 5455 RVA: 0x00325F64 File Offset: 0x00324164
		// (set) Token: 0x0600154E RID: 5454 RVA: 0x00325F47 File Offset: 0x00324147
		public virtual int DbObjType
		{
			get
			{
				return this._dbObjType;
			}
			set
			{
				this._dbObjType = value;
				if (this._objectName != null)
				{
					this._objectName.ObjectType = value;
				}
			}
		}

		// Token: 0x06001550 RID: 5456 RVA: 0x00325F6C File Offset: 0x0032416C
		public override void init(object arg1, object arg2)
		{
			this._objectName = (TObjectName)arg1;
			this._message = (TConstant)arg2;
		}

		// Token: 0x06001551 RID: 5457 RVA: 0x00325F86 File Offset: 0x00324186
		public override void init(object arg1, object arg2, object arg3)
		{
			this.init(arg1, arg2);
			this._dbObjectType = (EDbObjectType)arg3;
			this._objectName.DbObjectType = this._dbObjectType;
		}

		// Token: 0x170003FD RID: 1021
		// (get) Token: 0x06001552 RID: 5458 RVA: 0x00325FAD File Offset: 0x003241AD
		public virtual TConstant Message
		{
			get
			{
				return this._message;
			}
		}

		// Token: 0x170003FE RID: 1022
		// (get) Token: 0x06001553 RID: 5459 RVA: 0x00325FB5 File Offset: 0x003241B5
		public virtual TObjectName ObjectName
		{
			get
			{
				return this._objectName;
			}
		}

		// Token: 0x04001729 RID: 5929
		private TObjectName _objectName;

		// Token: 0x0400172A RID: 5930
		private TConstant _message;

		// Token: 0x0400172B RID: 5931
		private int _dbObjType;

		// Token: 0x0400172C RID: 5932
		private EDbObjectType _dbObjectType;
	}
}
